package org.n.shop.service;

import org.n.shop.domain.entity.Address;
import org.n.shop.result.RestResult;

public interface AddressService {
    RestResult all(String authorization);

    RestResult add(String authorization, Address address);

    RestResult update(Address address);

    RestResult del(int id);

    RestResult setDefault(String authorization, int id);
}
